package edu.hwadee.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Carservers entity. @author MyEclipse Persistence Tools
 */

public class Carservers implements java.io.Serializable {

	// Fields

	private Integer serversId;
	private Staff staffByServerMan;
	private Staff staffByOperator;
	private Staff staffByRepairman;
	private Company company;
	private Car car;
	private String serversType;
	private Float factPrice;
	private Float attribute8;
	private Date startDate;
	private Date endDate;
	private Set materieluses = new HashSet(0);

	// Constructors

	/** default constructor */
	public Carservers() {
	}

	/** full constructor */
	public Carservers(Staff staffByServerMan, Staff staffByOperator, Staff staffByRepairman, Company company, Car car,
			String serversType, Float factPrice, Float attribute8, Date startDate, Date endDate, Set materieluses) {
		this.staffByServerMan = staffByServerMan;
		this.staffByOperator = staffByOperator;
		this.staffByRepairman = staffByRepairman;
		this.company = company;
		this.car = car;
		this.serversType = serversType;
		this.factPrice = factPrice;
		this.attribute8 = attribute8;
		this.startDate = startDate;
		this.endDate = endDate;
		this.materieluses = materieluses;
	}

	// Property accessors

	public Integer getServersId() {
		return this.serversId;
	}

	public void setServersId(Integer serversId) {
		this.serversId = serversId;
	}

	public Staff getStaffByServerMan() {
		return this.staffByServerMan;
	}

	public void setStaffByServerMan(Staff staffByServerMan) {
		this.staffByServerMan = staffByServerMan;
	}

	public Staff getStaffByOperator() {
		return this.staffByOperator;
	}

	public void setStaffByOperator(Staff staffByOperator) {
		this.staffByOperator = staffByOperator;
	}

	public Staff getStaffByRepairman() {
		return this.staffByRepairman;
	}

	public void setStaffByRepairman(Staff staffByRepairman) {
		this.staffByRepairman = staffByRepairman;
	}

	public Company getCompany() {
		return this.company;
	}

	public void setCompany(Company company) {
		this.company = company;
	}

	public Car getCar() {
		return this.car;
	}

	public void setCar(Car car) {
		this.car = car;
	}

	public String getServersType() {
		return this.serversType;
	}

	public void setServersType(String serversType) {
		this.serversType = serversType;
	}

	public Float getFactPrice() {
		return this.factPrice;
	}

	public void setFactPrice(Float factPrice) {
		this.factPrice = factPrice;
	}

	public Float getAttribute8() {
		return this.attribute8;
	}

	public void setAttribute8(Float attribute8) {
		this.attribute8 = attribute8;
	}

	public Date getStartDate() {
		return this.startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getEndDate() {
		return this.endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	public Set getMaterieluses() {
		return this.materieluses;
	}

	public void setMaterieluses(Set materieluses) {
		this.materieluses = materieluses;
	}

}